<style>
    body{
        background: #f3f1f3
    }

    .collect li{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 12px;
        background: white;
        margin-bottom: 1px;
    }
    .collect .collectImg{        
        position: relative;
        width: 100%;
        height: 200px;
    }
    .collect .collectImg .HosueImg{
        position: absolute;
        width: 100%;
        height: 100%;
    }


@media screen and (min-width: 320px) and (max-width: 360px) {
    .collect .collectImg{
        width: 100%;
        height: 181px;
    }
    .collect .heart{
        position: absolute;
        z-index: 2;
        bottom: .5rem;
        right: .5rem;
        width: 1.5rem;
    }
}
@media screen and (min-width: 360px) and (max-width: 413px) { 
    .collect .collectImg{
        width: 100%;
        height: 200px;
    }
    .collect .heart{
        position: absolute;
        z-index: 2;
        bottom: .5rem;
        right: .5rem;
        width: 1.5rem;
    }
}
@media screen and (min-width: 414px) {
    .collect .collectImg{
        width: 100%;
        height: 233px;
    }
    .collect .heart{
        position: absolute;
        z-index: 2;
        bottom: .5rem;
        right: .5rem;
        width: 1.5rem;
    }
}
.rendDiv{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: .5rem;

}
.rendName{
    width: 70%;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.c6{
    font-size: 80%;
    color: #666;
}

</style>
<ul class="collect">
    <li ng-repeat="collect in collectData track by $index" ng-click="tiaozhuan(collect.style,collect.house_id)">
        <div class="collectImg" >
            <img ng-src="{{httpSrc+collect.img}}" alt="" class="HosueImg">
            <img src="../gy/images/icon/love_2.png" alt="" class="heart" ng-click="cancelCollect(collect.house_id,collect.id,$index)">
 
        </div>
        <div>
            <div class="rendDiv">
                <span class="rendName">{{collect.title}}</span>
                <span> {{collect.type}} <span>{{collect.size}}m²</span></span>
            </div>
            <div class="rendName c6">{{collect.address}}</div>
        </div>
    </li>
    <div class="weui-loadmore" ng-if="collectData>=3&&collectData">
            <i class="weui-loading"></i>
            <span class="weui-loadmore__tips">正在加载</span>
    </div>
</ul>
